<template>
  <van-cell class="item">
    <template v-solt:title>
      <van-image
        fit="cover"
        src="https://img.yzcdn.cn/vant/cat.jpeg"
        class="avatar"
      />
    </template>
    <p class="title">张丽丽</p>
    <span class="wage"><b>8000元</b>/26天</span>
    <span class="tag">
      <van-tag type="primary" size="medium" class="tags-item" round plain
        >二星育婴师</van-tag
      >
      <van-tag type="primary" size="medium" class="tags-item" round plain
        >6年经验</van-tag
      >
    </span>
    <span class="comment">湖南长沙 | 41岁 | 服务13户 | 评价13条</span>
  </van-cell>
</template>

<script>
export default {}
</script>

<style scoped lang="scss">
.item {
  position: relative;
  margin-bottom: 10px;
  height: 230px;
  // background-color: skyblue;
  .avatar {
    margin-top: -20px;
    width: 200px;
    height: 200px;
  }
  .title {
    position: absolute;
    top: -10px;
    left: 225px;
    font-weight: 700;
  }
  .wage {
    position: absolute;
    top: 14px;
    right: 0;
    color: #a1919b;
  }
  .tag {
    position: absolute;
    top: 80px;
    left: 225px;
    .tags-item {
      margin-right: 15px;
    }
  }
  .comment {
    position: absolute;
    top: 130px;
    left: 230px;
    font-size: 20px;
    font-weight: 700;
    color: #a1919b;
  }
  .address {
    position: absolute;
    bottom: -33px;
    left: 0px;
    font-size: 20px;
    color: #a1919b;
    font-weight: 700;
  }
}
</style>
